#include <stdio.h>


int main()
{
    long double result = 1;
    for (int i = 1; i <= 26; i++)
    {
        result *= i; // result = result * i;
    }

    printf("%Lf\n", result);

    int count = 0;
    while(result / 2 != 0)
    {
        result /= 2;
        count++;
    }
    printf("%d\n", count);

    return 0;
}